package org.csu.gp_store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("factory")
public class Factory {
    @TableId(value = "factoryID",type = IdType.ASSIGN_ID)
    private Long factoryID;
    @TableField("companyID")
    private Long companyID;
    @TableField("factory_name")
    private String factoryName;
    private String address;
    private int status;
    @TableField(exist = false)
    private String statusDes;
}
